package com.wenc.psi.pojo;

import androidx.annotation.NonNull;

import java.sql.Date;
import java.sql.Time;

public class Sale {
    // 单号
    protected String id;
    // 客户
    protected String customerID;
    // 经手人
    protected String employeeID;
    // 日期
    protected Date date;
    // 时间
    protected Time time;
    // 折扣
    protected double discount;
    // 额外费用
    protected double addition;
    // 总价
    protected double total;
    // 收款状态
    protected String paymentStatus;
    // 收款方式
    protected String paymentMethod;
    // 统计情况
    protected String statisticStatus;
    // 备注
    protected String note;
    // 销售状态
    protected String status;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCustomerID() {
        return customerID;
    }

    public void setCustomerID(String customerID) {
        this.customerID = customerID;
    }

    public String getEmployeeID() {
        return employeeID;
    }

    public void setEmployeeID(String employeeID) {
        this.employeeID = employeeID;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Time getTime() {
        return time;
    }

    public void setTime(Time time) {
        this.time = time;
    }

    public double getDiscount() {
        return discount;
    }

    public void setDiscount(double discount) {
        this.discount = discount;
    }

    public double getAddition() {
        return addition;
    }

    public void setAddition(double addition) {
        this.addition = addition;
    }

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    public String getPaymentStatus() {
        return paymentStatus;
    }

    public void setPaymentStatus(String paymentStatus) {
        this.paymentStatus = paymentStatus;
    }

    public String getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public String getStatisticStatus() {
        return statisticStatus;
    }

    public void setStatisticStatus(String statisticStatus) {
        this.statisticStatus = statisticStatus;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Sale{" +
                "id='" + id + '\'' +
                ", customerID='" + customerID + '\'' +
                ", employeeID='" + employeeID + '\'' +
                ", date=" + date +
                ", time=" + time +
                ", discount=" + discount +
                ", addition=" + addition +
                ", total=" + total +
                ", paymentStatus='" + paymentStatus + '\'' +
                ", paymentMethod='" + paymentMethod + '\'' +
                ", statisticStatus='" + statisticStatus + '\'' +
                ", note='" + note + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
